package beans {
	
	public class ResultBean {
		
		//------------------------------------------------------------
        //
        // variables
        //
        //------------------------------------------------------------
		
		//------------------------------
		// errorCode
		//------------------------------

		private var _errorCode:String;

		public function get errorCode():String {
			return _errorCode;
		}

		public function set errorCode(errorCode:String):void {
			_errorCode = errorCode;
		}
		
		//------------------------------------------------------------
        //
        // constructor
        //
        //------------------------------------------------------------
		
		public function ResultBean(value:XML) {
			if (!value) {
	            errorCode = "";
                return;
            }
            
            errorCode = value.errorCode;
		}
		
	}
}